//
//  NoticeViewController.m
//  BeanTrip
//
//  Created by dlios on 15-7-9.
//  Copyright (c) 2015年 PandaGroup. All rights reserved.
//

#import "NoticeViewController.h"
#import "HTTPTool.h"

@interface NoticeViewController ()<UIWebViewDelegate>
{
    UIWebView *webView;
}
@end

@implementation NoticeViewController
- (void)dealloc
{
    [_TId release];
    [_TType release];
    [super dealloc];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    webView=[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    self.title = @"实用须知";

    NSURLRequest *request=[NSURLRequest requestWithURL:[NSURL URLWithString: [NSString stringWithFormat:@"http://breadtrip.com/mobile/destination/%@/%@/overview/",self.TType, self.TId]]];
    [self.view addSubview:webView];
    [webView loadRequest:request];
   
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
